<html>
<form action="/ch4/post4/post.php" method="POST">
    <input type="checkbox" name="favorite[]" value="music"/>music<br/>
    <input type="checkbox" name="favorite[]" value="draw"/>draw<br/>
    <input type="checkbox" name="favorite[]" value="coding"/>coding<br/>
    <input type="submit" name="submit" value="Submit me!" />
</form>
</html>